<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.3.1"/>
<title>RaspBerryPi power control: ADE7763.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">RaspBerryPi power control
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.3.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">ADE7763.hpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="ADE7763_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor">#ifndef ADE7763_H_</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ADE7763_H_</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment">/* Exported constants --------------------------------------------------------*/</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;</div>
<div class="line"><a name="l00028"></a><span class="lineno"><a class="code" href="group__ADE__7763__Text__output.html#ga34abb3118b4c95a5256c348fe8a5be05">   28</a></span>&#160;<span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> <a class="code" href="group__ADE__7763__Text__output.html#ga34abb3118b4c95a5256c348fe8a5be05">list</a>[] = { <span class="stringliteral">&quot;NONE&quot;</span>, <span class="stringliteral">&quot;WAVEFORM&quot;</span>, <span class="stringliteral">&quot;AENERGY&quot;</span>, <span class="stringliteral">&quot;RAENERGY&quot;</span>,</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;        <span class="stringliteral">&quot;LAENERGY&quot;</span>, <span class="stringliteral">&quot;VAENERGY&quot;</span>, <span class="stringliteral">&quot;RVAENERGY&quot;</span>, <span class="stringliteral">&quot;LVAENERGY&quot;</span>, <span class="stringliteral">&quot;RESERVED&quot;</span>, <span class="stringliteral">&quot;MODE&quot;</span>,</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;        <span class="stringliteral">&quot;IRQEN&quot;</span>, <span class="stringliteral">&quot;STATUS&quot;</span>, <span class="stringliteral">&quot;RSTSTATUS&quot;</span>, <span class="stringliteral">&quot;CH1OS&quot;</span>, <span class="stringliteral">&quot;CH2OS&quot;</span>, <span class="stringliteral">&quot;GAIN&quot;</span>, <span class="stringliteral">&quot;PHCAL&quot;</span>,</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;        <span class="stringliteral">&quot;APOS&quot;</span>, <span class="stringliteral">&quot;WGAIN&quot;</span>, <span class="stringliteral">&quot;WDIV&quot;</span>, <span class="stringliteral">&quot;CFNUM&quot;</span>, <span class="stringliteral">&quot;CFDEN&quot;</span>, <span class="stringliteral">&quot;IRMS&quot;</span>, <span class="stringliteral">&quot;VRMS&quot;</span>, <span class="stringliteral">&quot;IRMSOS&quot;</span>,</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;        <span class="stringliteral">&quot;VRMSOS&quot;</span>, <span class="stringliteral">&quot;VAGAIN&quot;</span>, <span class="stringliteral">&quot;VADIV&quot;</span>, <span class="stringliteral">&quot;LINECYC&quot;</span>, <span class="stringliteral">&quot;ZXTOUT&quot;</span>, <span class="stringliteral">&quot;SAGCYC&quot;</span>, <span class="stringliteral">&quot;SAGLVL&quot;</span>,</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;        <span class="stringliteral">&quot;IPKLVL&quot;</span>, <span class="stringliteral">&quot;VPKLVL&quot;</span>, <span class="stringliteral">&quot;IPEAK&quot;</span>, <span class="stringliteral">&quot;RSTIPEAK&quot;</span>, <span class="stringliteral">&quot;VPEAK&quot;</span>, <span class="stringliteral">&quot;RSTVPEAK&quot;</span>, <span class="stringliteral">&quot;TEMP&quot;</span>,</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;        <span class="stringliteral">&quot;PERIOD&quot;</span>, <span class="stringliteral">&quot;RESERVED&quot;</span>, <span class="stringliteral">&quot;RESERVED&quot;</span>, <span class="stringliteral">&quot;RESERVED&quot;</span>, <span class="stringliteral">&quot;RESERVED&quot;</span>, <span class="stringliteral">&quot;RESERVED&quot;</span>,</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;        <span class="stringliteral">&quot;RESERVED&quot;</span>, <span class="stringliteral">&quot;RESERVED&quot;</span>, <span class="stringliteral">&quot;RESERVED&quot;</span>, <span class="stringliteral">&quot;RESERVED&quot;</span>, <span class="stringliteral">&quot;RESERVED&quot;</span>, <span class="stringliteral">&quot;RESERVED&quot;</span>,</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;        <span class="stringliteral">&quot;RESERVED&quot;</span>, <span class="stringliteral">&quot;RESERVED&quot;</span>, <span class="stringliteral">&quot;RESERVED&quot;</span>, <span class="stringliteral">&quot;RESERVED&quot;</span>, <span class="stringliteral">&quot;RESERVED&quot;</span>, <span class="stringliteral">&quot;RESERVED&quot;</span>,</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;        <span class="stringliteral">&quot;RESERVED&quot;</span>, <span class="stringliteral">&quot;RESERVED&quot;</span>, <span class="stringliteral">&quot;RESERVED&quot;</span>, <span class="stringliteral">&quot;RESERVED&quot;</span>, <span class="stringliteral">&quot;TMODE&quot;</span>, <span class="stringliteral">&quot;CHKSUM&quot;</span>,</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;        <span class="stringliteral">&quot;DIEREV&quot;</span> };</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;</div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="code" href="group__ADE__7763__Text__output.html#gad5a1d3d9ba01ec04d977cf8b2599ca67">   40</a></span>&#160;<span class="keyword">const</span> <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="group__ADE__7763__Text__output.html#gad5a1d3d9ba01ec04d977cf8b2599ca67">RegLength</a>[] = { 24, 24, 24, 24, 24, 24, 24, 0, 16, 16, 16,</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;        16, 8, 8, 8, 6, 16, 12, 8, 12, 12, 24, 24, 12, 12, 12, 8, 16, 12, 8, 8,</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;        8, 8, 24, 24, 24, 24, 8, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;        0, 0, 0, 0, 0, 0, 0, 8, 6, 8</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;};</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;</div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="code" href="group__ADE__7763__Text__output.html#ga67bc2f48eb5aab8a5d5fda537b341248">   47</a></span>&#160;<span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> <a class="code" href="group__ADE__7763__Text__output.html#ga67bc2f48eb5aab8a5d5fda537b341248">RegPermmision</a>[] = { <span class="stringliteral">&quot;R&quot;</span>, <span class="stringliteral">&quot;R&quot;</span>, <span class="stringliteral">&quot;R&quot;</span>, <span class="stringliteral">&quot;R&quot;</span>, <span class="stringliteral">&quot;R&quot;</span>, <span class="stringliteral">&quot;R&quot;</span>, <span class="stringliteral">&quot;R&quot;</span>, <span class="stringliteral">&quot;N&quot;</span>,</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;        <span class="stringliteral">&quot;R/W&quot;</span>, <span class="stringliteral">&quot;R/W&quot;</span>, <span class="stringliteral">&quot;R&quot;</span>, <span class="stringliteral">&quot;R&quot;</span>, <span class="stringliteral">&quot;R/W&quot;</span>, <span class="stringliteral">&quot;R/W&quot;</span>, <span class="stringliteral">&quot;R/W&quot;</span>, <span class="stringliteral">&quot;R/W&quot;</span>, <span class="stringliteral">&quot;R/W&quot;</span>, <span class="stringliteral">&quot;R/W&quot;</span>, <span class="stringliteral">&quot;R/W&quot;</span>,</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;        <span class="stringliteral">&quot;R/W&quot;</span>, <span class="stringliteral">&quot;R/W&quot;</span>, <span class="stringliteral">&quot;R&quot;</span>, <span class="stringliteral">&quot;R&quot;</span>, <span class="stringliteral">&quot;R/W&quot;</span>, <span class="stringliteral">&quot;R/W&quot;</span>, <span class="stringliteral">&quot;R/W&quot;</span>, <span class="stringliteral">&quot;R/W&quot;</span>, <span class="stringliteral">&quot;R/W&quot;</span>, <span class="stringliteral">&quot;R/W&quot;</span>, <span class="stringliteral">&quot;R/W&quot;</span>,</div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;        <span class="stringliteral">&quot;R/W&quot;</span>, <span class="stringliteral">&quot;R/W&quot;</span>, <span class="stringliteral">&quot;R/W&quot;</span>, <span class="stringliteral">&quot;R&quot;</span>, <span class="stringliteral">&quot;R&quot;</span>, <span class="stringliteral">&quot;R&quot;</span>, <span class="stringliteral">&quot;R&quot;</span>, <span class="stringliteral">&quot;R&quot;</span>, <span class="stringliteral">&quot;R&quot;</span>, <span class="stringliteral">&quot;N&quot;</span>, <span class="stringliteral">&quot;N&quot;</span>, <span class="stringliteral">&quot;N&quot;</span>, <span class="stringliteral">&quot;N&quot;</span>,</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;        <span class="stringliteral">&quot;N&quot;</span>, <span class="stringliteral">&quot;N&quot;</span>, <span class="stringliteral">&quot;N&quot;</span>, <span class="stringliteral">&quot;N&quot;</span>, <span class="stringliteral">&quot;N&quot;</span>, <span class="stringliteral">&quot;N&quot;</span>, <span class="stringliteral">&quot;N&quot;</span>, <span class="stringliteral">&quot;N&quot;</span>, <span class="stringliteral">&quot;N&quot;</span>, <span class="stringliteral">&quot;N&quot;</span>, <span class="stringliteral">&quot;N&quot;</span>, <span class="stringliteral">&quot;N&quot;</span>, <span class="stringliteral">&quot;N&quot;</span>, <span class="stringliteral">&quot;N&quot;</span>,</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;        <span class="stringliteral">&quot;N&quot;</span>, <span class="stringliteral">&quot;N&quot;</span>, <span class="stringliteral">&quot;N&quot;</span>, <span class="stringliteral">&quot;R/W&quot;</span>, <span class="stringliteral">&quot;R&quot;</span>, <span class="stringliteral">&quot;R&quot;</span> };</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;</div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="code" href="group__ADE__7763__Text__output.html#ga27c4ad3b3a60d6196869cd3c8a4498ac">   54</a></span>&#160;<span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> <a class="code" href="group__ADE__7763__Text__output.html#ga27c4ad3b3a60d6196869cd3c8a4498ac">RegDescription</a>[] = {</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;        <span class="stringliteral">&quot;Obsahuje vzorkovaný průběh dat Kanálu1, Kanálu2 nebo činný výkon sygnálu. Mode reg. bit 14 a 13.&quot;</span>,</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;        <span class="stringliteral">&quot;Činný výkon integrvaný v čase.&quot;</span>,</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;        <span class="stringliteral">&quot;Činný výkon integrvaný v čase, nuluje se při operaci čtení.&quot;</span>,</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;        <span class="stringliteral">&quot;Okamžitý činný výkon accumulated in this register over the LINECYC number of half line cycles. &quot;</span>,</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;        <span class="stringliteral">&quot;Zdánlivý výkon akumulovaný v čase.&quot;</span>,</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;        <span class="stringliteral">&quot;Zdánlivý výkon akumulovaný v čase, nuluje se při operaci čtení.&quot;</span>,</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;        <span class="stringliteral">&quot;Okamžitý zdánlivý výkon is accumulated in this register over the LINECYC number of half line cycles.&quot;</span>,</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;        <span class="stringliteral">&quot;N&quot;</span>,</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;        <span class="stringliteral">&quot;Konfigurační register - Signal sample rates, filter enabling, calibration&quot;</span>,</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;        <span class="stringliteral">&quot;Přerušení je standardně vypnuto, aktivace příslošného přerušení pomocí 0. &quot;</span>,</div>
<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;        <span class="stringliteral">&quot;Informace o přerušeních, reaguje i při vyplém přerušeni&quot;</span>,</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;        <span class="stringliteral">&quot;Informace o přerušení, nulují se při operaci čtení&quot;</span>,</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;        <span class="stringliteral">&quot;BIT 0-5 offset Kanál 1, Bit 6 nevyužitý, MSB integrátor off/on 0/1. &quot;</span>,</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;        <span class="stringliteral">&quot;Bit 6 a 7 nevyužit. Bit 0-5 offset kanál 2. INVERTED read manual.&quot;</span>,</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;        <span class="stringliteral">&quot;PGA Kanál 1 a 2.&quot;</span>,</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;        <span class="stringliteral">&quot;Fázová kalibrace mezi kanálem 1 a 2&quot;</span>,</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;        <span class="stringliteral">&quot;Korekce činného výkonu&quot;</span>,</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;        <span class="stringliteral">&quot;Kalibrace kalkulace činného výkony při zápisu do registru +-50%&quot;</span>,</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;        <span class="stringliteral">&quot;Interní integrační register činného výkonu&quot;</span>,</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;        <span class="stringliteral">&quot;CF Frequency Divider Numerator Register.&quot;</span>,</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;        <span class="stringliteral">&quot;CF Frequency Divider Denominator Register. &quot;</span>,</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;        <span class="stringliteral">&quot;Channel 1 RMS Value (Current Channel).&quot;</span>,</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;        <span class="stringliteral">&quot;Channel 2 RMS Value (Voltage Channel).&quot;</span>,</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;        <span class="stringliteral">&quot;Channel 1 RMS Offset Correction Register.&quot;</span>,</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;        <span class="stringliteral">&quot;Channel 2 RMS Offset Correction Register.&quot;</span>,</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;        <span class="stringliteral">&quot;Kalibrace kalkulace zdánlivého výkony při zápisu do registru +-50%&quot;</span>,</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;        <span class="stringliteral">&quot;Interní integrační register zdánlivého výkonu&quot;</span>,</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;        <span class="stringliteral">&quot;Register pro výpočet půlperiody&quot;</span>,</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;        <span class="stringliteral">&quot;Zero-Crossing Timeout Kanál 2 ???&quot;</span>,</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;        <span class="stringliteral">&quot;Sag Line Cycle Register.&quot;</span>,</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;        <span class="stringliteral">&quot;Sag Voltage Level. &quot;</span>,</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;        <span class="stringliteral">&quot;Channel 1 Peak Level Threshold (Current Channel), při překročení nastaví PKI flag&quot;</span>,</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;        <span class="stringliteral">&quot;Channel 2 Peak Level Threshold (Voltage Channel), při překročení nastaví PKV flag.&quot;</span>,</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;        <span class="stringliteral">&quot;Obsahuje maximální hodnotu peeku zaznamenanou od posledního čtení Kanál 1.&quot;</span>,</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;        <span class="stringliteral">&quot;Obsahuje maximální hodnotu peeku zaznamenanou od posledního čtení Kanál 1, po přečtení se nuluje.&quot;</span>,</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;        <span class="stringliteral">&quot;Obsahuje maximální hodnotu peeku zaznamenanou od posledního čtení Kanál 2.&quot;</span>,</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;        <span class="stringliteral">&quot;Obsahuje maximální hodnotu peeku zaznamenanou od posledního čtení Kanál 2, po přečtení se nuluje.&quot;</span>,</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;        <span class="stringliteral">&quot;Výsledek poslední teplotní converze&quot;</span>,</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;        <span class="stringliteral">&quot;Perioda napěťového kanálu&quot;</span>,</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;        <span class="stringliteral">&quot;N&quot;</span>, <span class="stringliteral">&quot;N&quot;</span>, <span class="stringliteral">&quot;N&quot;</span>, <span class="stringliteral">&quot;N&quot;</span>,</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;        <span class="stringliteral">&quot;N&quot;</span>, <span class="stringliteral">&quot;N&quot;</span>, <span class="stringliteral">&quot;N&quot;</span>, <span class="stringliteral">&quot;N&quot;</span>, <span class="stringliteral">&quot;N&quot;</span>, <span class="stringliteral">&quot;N&quot;</span>, <span class="stringliteral">&quot;N&quot;</span>, <span class="stringliteral">&quot;N&quot;</span>, <span class="stringliteral">&quot;N&quot;</span>, <span class="stringliteral">&quot;N&quot;</span>, <span class="stringliteral">&quot;N&quot;</span>, <span class="stringliteral">&quot;N&quot;</span>, <span class="stringliteral">&quot;N&quot;</span>, <span class="stringliteral">&quot;N&quot;</span>,</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;        <span class="stringliteral">&quot;N&quot;</span>, <span class="stringliteral">&quot;N&quot;</span>, <span class="stringliteral">&quot;N&quot;</span>,</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;        <span class="stringliteral">&quot;Test Mode Register.&quot;</span>,</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;        <span class="stringliteral">&quot;Checksum Register.&quot;</span>,</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;        <span class="stringliteral">&quot;Die Revision Register. &quot;</span> };</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;</div>
<div class="line"><a name="l00101"></a><span class="lineno"><a class="code" href="group__ADE__7763__Text__output.html#ga20fa5e285996ce6a18aee92748e5ec5f">  101</a></span>&#160;<span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> <a class="code" href="group__ADE__7763__Text__output.html#ga20fa5e285996ce6a18aee92748e5ec5f">InterupFlagsName7763</a>[] = { <span class="stringliteral">&quot;AEHF&quot;</span>, <span class="stringliteral">&quot;SAG&quot;</span>, <span class="stringliteral">&quot;CYCEND&quot;</span>, <span class="stringliteral">&quot;WSMP&quot;</span>,</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;        <span class="stringliteral">&quot;ZX&quot;</span>, <span class="stringliteral">&quot;TEMP&quot;</span>, <span class="stringliteral">&quot;RESET&quot;</span>, <span class="stringliteral">&quot;AEOF&quot;</span>, <span class="stringliteral">&quot;PKV&quot;</span>, <span class="stringliteral">&quot;PKI&quot;</span>, <span class="stringliteral">&quot;VAEHF&quot;</span>, <span class="stringliteral">&quot;VAEOF&quot;</span>, <span class="stringliteral">&quot;ZXTO&quot;</span>,</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;        <span class="stringliteral">&quot;PPOS&quot;</span>, <span class="stringliteral">&quot;PNEG&quot;</span>, <span class="stringliteral">&quot;RESERVED&quot;</span> };</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;</div>
<div class="line"><a name="l00105"></a><span class="lineno"><a class="code" href="group__ADE__7763__Text__output.html#ga46ef0a012b52ec153440f5811408b6c4">  105</a></span>&#160;<span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> <a class="code" href="group__ADE__7763__Text__output.html#ga46ef0a012b52ec153440f5811408b6c4">InterupFlagsDescription7763</a>[] = {</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;        <span class="stringliteral">&quot;&quot;</span></div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;};</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;</div>
<div class="line"><a name="l00110"></a><span class="lineno"><a class="code" href="group__ADE__7763__Text__output.html#gac25435f283abe7e2f68e93340d9e10d9">  110</a></span>&#160;<span class="keyword">const</span> <span class="keywordtype">char</span>* <span class="keyword">const</span> <a class="code" href="group__ADE__7763__Text__output.html#gac25435f283abe7e2f68e93340d9e10d9">SpiMode</a>[] = { <span class="stringliteral">&quot;READ&quot;</span>, <span class="stringliteral">&quot;WRITE&quot;</span></div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;};</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;</div>
<div class="line"><a name="l00113"></a><span class="lineno"><a class="code" href="group__ADE__7763__Text__output.html#gae24f770500f559ce98f6002fa708c612">  113</a></span>&#160;<span class="preprocessor">#define PRINT_REGISTE_TABLE_HEAD  printf(&quot;ADRESA |    NAME    | DELKA | PER | W | DATA \n&quot;); printf(&quot;_____________________________________________\n&quot;)</span></div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00122"></a><span class="lineno"><a class="code" href="group__ADE__7763__SPI__setup.html#gad483be344a28ac800be8f03654a9612f">  122</a></span>&#160;<span class="preprocessor">#define SPI1 1                              </span></div>
<div class="line"><a name="l00123"></a><span class="lineno"><a class="code" href="group__ADE__7763__SPI__setup.html#gaf26e39c91b262cc480085abcc450d3d5">  123</a></span>&#160;<span class="preprocessor">#define SPI0 0                              </span></div>
<div class="line"><a name="l00124"></a><span class="lineno"><a class="code" href="group__ADE__7763__SPI__setup.html#gaab93b284e4ff885f3f21217b3c8a51c8">  124</a></span>&#160;<span class="preprocessor">#define POCET_REGISTRU_ADE7763 0x3F         </span></div>
<div class="line"><a name="l00125"></a><span class="lineno"><a class="code" href="group__ADE__7763__SPI__setup.html#gac51dcc4d1b6a42e168800a4729b66315">  125</a></span>&#160;<span class="preprocessor">#define SPI_ADE7763_SPEED 30500             </span></div>
<div class="line"><a name="l00127"></a><span class="lineno"><a class="code" href="group__ADE__7763__SPI__setup.html#ga466dfb27adce7afdb0e418c05012bbc4">  127</a></span>&#160;<span class="preprocessor">#define SPIREAD 0                           </span></div>
<div class="line"><a name="l00128"></a><span class="lineno"><a class="code" href="group__ADE__7763__SPI__setup.html#ga048a288fd72f4bbe5d5f0e9a93ad5632">  128</a></span>&#160;<span class="preprocessor">#define SPIWRITE 1                          </span></div>
<div class="line"><a name="l00130"></a><span class="lineno"><a class="code" href="group__ADE__7763__SPI__setup.html#ga85db9f663faa27d0f46298234085f1c2">  130</a></span>&#160;<span class="preprocessor">#define MaxBuffSize  4  </span></div>
<div class="line"><a name="l00140"></a><span class="lineno"><a class="code" href="group__ADE__7763__Text__output__setup.html#gad5755cfbc5c4b61d5a5b88782eee01e8">  140</a></span>&#160;<span class="preprocessor">#define VERBOSE_MODE 1                      </span></div>
<div class="line"><a name="l00141"></a><span class="lineno"><a class="code" href="group__ADE__7763__Text__output__setup.html#gade9998e80a62d29ff20f223e59201b71">  141</a></span>&#160;<span class="preprocessor">#define NON_VERBOSE_MODE 0                  </span></div>
<div class="line"><a name="l00142"></a><span class="lineno"><a class="code" href="group__ADE__7763__Text__output__setup.html#ga8091c2bcff55cbe0a4a145fd5fb7c22d">  142</a></span>&#160;<span class="preprocessor">#define FAST 0                              </span></div>
<div class="line"><a name="l00143"></a><span class="lineno"><a class="code" href="group__ADE__7763__Text__output__setup.html#ga65a2510b33385dfd3c4e4dba7b4cbf29">  143</a></span>&#160;<span class="preprocessor">#define NON_FAST 1                          </span></div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;<span class="preprocessor">//IRMS</span></div>
<div class="line"><a name="l00154"></a><span class="lineno"><a class="code" href="group__ADE__7763__IRMS__measurement__parameters.html#gab8f65802070c50d01d21dbed10cb9250">  154</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define IRMSMAXSCALE5 1868467 //0x1C82B3    </span></div>
<div class="line"><a name="l00155"></a><span class="lineno"><a class="code" href="group__ADE__7763__IRMS__measurement__parameters.html#ga7d83c1b4e2a0a150edca1059063c51ec">  155</a></span>&#160;<span class="preprocessor">#define IRMSMAXSCALE25 934233               </span></div>
<div class="line"><a name="l00156"></a><span class="lineno"><a class="code" href="group__ADE__7763__IRMS__measurement__parameters.html#gac692327eb81f74154121898855bfafd2">  156</a></span>&#160;<span class="preprocessor">#define IRMSMAXSCALE125 467116              </span></div>
<div class="line"><a name="l00157"></a><span class="lineno"><a class="code" href="group__ADE__7763__IRMS__measurement__parameters.html#gabe5737c800d804f0ed0e12966de33af2">  157</a></span>&#160;<span class="preprocessor">#define IRMSMAXSCALE125G2 233558            </span></div>
<div class="line"><a name="l00158"></a><span class="lineno"><a class="code" href="group__ADE__7763__IRMS__measurement__parameters.html#ga94eee33db5ff66cfcabe9988300ee24f">  158</a></span>&#160;<span class="preprocessor">#define IRMSMAXSCALE125G4 116779            </span></div>
<div class="line"><a name="l00159"></a><span class="lineno"><a class="code" href="group__ADE__7763__IRMS__measurement__parameters.html#ga017d1211eff1e78356d9e08a34a2d269">  159</a></span>&#160;<span class="preprocessor">#define IRMSMAXSCALE125G8 58389             </span></div>
<div class="line"><a name="l00160"></a><span class="lineno"><a class="code" href="group__ADE__7763__IRMS__measurement__parameters.html#gaad9c9932fe85d28cc8b3705bebcae0c1">  160</a></span>&#160;<span class="preprocessor">#define IRMSMAXSCALE125G16 29194            </span></div>
<div class="line"><a name="l00163"></a><span class="lineno"><a class="code" href="group__ADE__7763__IRMS__measurement__parameters.html#ga4134a58917c1a7fb3ba01b707912962a">  163</a></span>&#160;<span class="preprocessor">#define IRMSINSCALE5 0.5                    </span></div>
<div class="line"><a name="l00164"></a><span class="lineno"><a class="code" href="group__ADE__7763__IRMS__measurement__parameters.html#ga450245ce106c020685c745774d6f2f9d">  164</a></span>&#160;<span class="preprocessor">#define IRMSINSCALE25 0.25                  </span></div>
<div class="line"><a name="l00165"></a><span class="lineno"><a class="code" href="group__ADE__7763__IRMS__measurement__parameters.html#ga5aafba23a33f9df3d9b4b8cd23b48278">  165</a></span>&#160;<span class="preprocessor">#define IRMSINSCALE125 0.125                </span></div>
<div class="line"><a name="l00167"></a><span class="lineno"><a class="code" href="group__ADE__7763__IRMS__measurement__parameters.html#ga7b5772fed1df3e1b613975e280a9f98e">  167</a></span>&#160;<span class="preprocessor">#define RBOCNIK 0.0005                      </span></div>
<div class="line"><a name="l00168"></a><span class="lineno"><a class="code" href="group__ADE__7763__IRMS__measurement__parameters.html#gace962778efa27f8402eb57286150b47f">  168</a></span>&#160;<span class="preprocessor">#define POCETPRUMEROVACICHCIKLU  200        </span></div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;<span class="preprocessor">//#define IRMSHRARDOFFSET ((-1)*0.000408716)</span></div>
<div class="line"><a name="l00171"></a><span class="lineno"><a class="code" href="group__ADE__7763__IRMS__measurement__parameters.html#gaab804e5dca408a77b654f2ee2449f7df">  171</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define IRMSHRARDOFFSET 0//((-1)*0.0005717811)  </span></div>
<div class="line"><a name="l00172"></a><span class="lineno"><a class="code" href="group__ADE__7763__IRMS__measurement__parameters.html#ga9e520eb4dabb29116dd5e167d7e838e0">  172</a></span>&#160;<span class="preprocessor">#define IRMSHRARDOFFSETSCALE125G16 ((-1)*0.000131287539)</span></div>
<div class="line"><a name="l00173"></a><span class="lineno"><a class="code" href="group__ADE__7763__IRMS__measurement__parameters.html#gaeda26a8a54f70d7bc0043bb7b5348bf7">  173</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define IRMSHRARDOFFSETSCALE125G8 IRMSHRARDOFFSETSCALE125G16</span></div>
<div class="line"><a name="l00174"></a><span class="lineno"><a class="code" href="group__ADE__7763__IRMS__measurement__parameters.html#gaca6dff17b68e287eb47c4efc0810a9ca">  174</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define IRMSHRARDOFFSETSCALE125G4 IRMSHRARDOFFSETSCALE125G16</span></div>
<div class="line"><a name="l00175"></a><span class="lineno"><a class="code" href="group__ADE__7763__IRMS__measurement__parameters.html#ga39d8dcb458dda892054bd5bc71ec6174">  175</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define IRMSHRARDOFFSETSCALE125G2 IRMSHRARDOFFSETSCALE125G16</span></div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;<span class="comment">//VRMS</span></div>
<div class="line"><a name="l00185"></a><span class="lineno"><a class="code" href="group__ADE__7763__VRMS__measurement__parameters.html#ga6e3ac6be6595f0f43c16175ff0bcc8c9">  185</a></span>&#160;<span class="preprocessor">#define VRMSOUTSCALE 0x17D338               </span></div>
<div class="line"><a name="l00186"></a><span class="lineno"><a class="code" href="group__ADE__7763__VRMS__measurement__parameters.html#ga18e793dad7ebb89476880119be7a101f">  186</a></span>&#160;<span class="preprocessor">#define VRMSINSCALE 0.5                     </span></div>
<div class="line"><a name="l00187"></a><span class="lineno"><a class="code" href="group__ADE__7763__VRMS__measurement__parameters.html#gabfda33c92f2aeea4c2cdb000c910eee8">  187</a></span>&#160;<span class="preprocessor">#define VRMSBOCNIKR1 600000                 </span></div>
<div class="line"><a name="l00188"></a><span class="lineno"><a class="code" href="group__ADE__7763__VRMS__measurement__parameters.html#ga7a5c9396560d00b39006ba9ecfa12aab">  188</a></span>&#160;<span class="preprocessor">#define VRMSBOCNIKR2 1000                   </span></div>
<div class="line"><a name="l00189"></a><span class="lineno"><a class="code" href="group__ADE__7763__VRMS__measurement__parameters.html#gab68a2db145a6cb575c4dfa2f3a85066d">  189</a></span>&#160;<span class="preprocessor">#define VRMSHRARDOFFSET ((-1)*0.182)        </span></div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;<span class="preprocessor">//definice z datasheetu</span></div>
<div class="line"><a name="l00200"></a><span class="lineno"><a class="code" href="group__ADE__7763__Temperature__measurement__parameters.html#gab7861d40f102184cda9727baaac36533">  200</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define LSBOFPERIOD 2.2/1000000</span></div>
<div class="line"><a name="l00201"></a><span class="lineno"><a class="code" href="group__ADE__7763__Temperature__measurement__parameters.html#ga64edbf271badf68e327d377c071c6847">  201</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define LSBOFTEMP 1.5 - 25</span></div>
<div class="line"><a name="l00202"></a><span class="lineno"><a class="code" href="group__ADE__7763__Temperature__measurement__parameters.html#ga6aa3854d3790175a65866e0a950ea806">  202</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define KOREKCETEPLOTY ((+1)*17.5) //19.5</span></div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00215"></a><span class="lineno"><a class="code" href="group__ADE__7763__Exported__Constants.html#gaeba0d602edfcb4d3acd128ddea378145">  215</a></span>&#160;<span class="preprocessor">#define ADRWAVEFORM     0x01</span></div>
<div class="line"><a name="l00216"></a><span class="lineno"><a class="code" href="group__ADE__7763__Exported__Constants.html#gabf6d09f25a53a3ea20c331c480d00fe2">  216</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ADRAENERGY  0x02</span></div>
<div class="line"><a name="l00217"></a><span class="lineno"><a class="code" href="group__ADE__7763__Exported__Constants.html#ga879683f2804d2e2220523169f6160fec">  217</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ADRRAENERGY     0x03</span></div>
<div class="line"><a name="l00218"></a><span class="lineno"><a class="code" href="group__ADE__7763__Exported__Constants.html#ga782663f2bb4f764b0a70ef5c36cb4f60">  218</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ADRLAENERGY     0x04</span></div>
<div class="line"><a name="l00219"></a><span class="lineno"><a class="code" href="group__ADE__7763__Exported__Constants.html#ga6872872326216a47bbf2e1a6d0736a4b">  219</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ADRVAENERGY     0x05</span></div>
<div class="line"><a name="l00220"></a><span class="lineno"><a class="code" href="group__ADE__7763__Exported__Constants.html#ga66ff5343a4a669ae730a8b98dd5be304">  220</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ADRRVAENERGY    0x06</span></div>
<div class="line"><a name="l00221"></a><span class="lineno"><a class="code" href="group__ADE__7763__Exported__Constants.html#ga800e77b98d4440c2fe9cec67c9fba5f1">  221</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ADRLVAENERGY    0x07</span></div>
<div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;<span class="preprocessor"></span><span class="comment">//#define   ADR RESERVED    0x08</span></div>
<div class="line"><a name="l00223"></a><span class="lineno"><a class="code" href="group__ADE__7763__Exported__Constants.html#ga23d22ffe2caabdcae2f4f15668e98487">  223</a></span>&#160;<span class="preprocessor">#define ADRMODE     0x09</span></div>
<div class="line"><a name="l00224"></a><span class="lineno"><a class="code" href="group__ADE__7763__Exported__Constants.html#gaa6cefb6b4ef0b9cb73d841114485be15">  224</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ADRIRQEN    0x0a</span></div>
<div class="line"><a name="l00225"></a><span class="lineno"><a class="code" href="group__ADE__7763__Exported__Constants.html#gaf736dd88e8020d9c1d024bf83548be9b">  225</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ADRSTATUS   0x0b</span></div>
<div class="line"><a name="l00226"></a><span class="lineno"><a class="code" href="group__ADE__7763__Exported__Constants.html#gad8ea53639b0ccf9e00c5b92992b1e7e6">  226</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ADRRSTSTATUS    0x0c</span></div>
<div class="line"><a name="l00227"></a><span class="lineno"><a class="code" href="group__ADE__7763__Exported__Constants.html#ga9cd6f520526c7720eef73e823da695e3">  227</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ADRCH1OS    0x0d</span></div>
<div class="line"><a name="l00228"></a><span class="lineno"><a class="code" href="group__ADE__7763__Exported__Constants.html#ga2df2db275b940faf47a13110321142ea">  228</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ADRCH2OS    0x0e</span></div>
<div class="line"><a name="l00229"></a><span class="lineno"><a class="code" href="group__ADE__7763__Exported__Constants.html#ga71cff4ce268f8c919ed121f6ec2e06ab">  229</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ADRGAIN     0x0f</span></div>
<div class="line"><a name="l00230"></a><span class="lineno"><a class="code" href="group__ADE__7763__Exported__Constants.html#ga6d4415c82a68ea93c0dd53601f497769">  230</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ADRPHCAL    0x10</span></div>
<div class="line"><a name="l00231"></a><span class="lineno"><a class="code" href="group__ADE__7763__Exported__Constants.html#ga7739c6db3ae344744d2c68d5713b16bd">  231</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ADRAPOS     0x11</span></div>
<div class="line"><a name="l00232"></a><span class="lineno"><a class="code" href="group__ADE__7763__Exported__Constants.html#ga795b245c67f7a0b6a83953ed839caa41">  232</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ADRWGAIN    0x12</span></div>
<div class="line"><a name="l00233"></a><span class="lineno"><a class="code" href="group__ADE__7763__Exported__Constants.html#ga933fec6ef3f113beb96b8cd6d1c2a2a6">  233</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ADRWDIV     0x13</span></div>
<div class="line"><a name="l00234"></a><span class="lineno"><a class="code" href="group__ADE__7763__Exported__Constants.html#ga66b7122d6a84aa755173a4c52371dee8">  234</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ADRCFNUM    0x14</span></div>
<div class="line"><a name="l00235"></a><span class="lineno"><a class="code" href="group__ADE__7763__Exported__Constants.html#gaa61be67c6c07f9049a48239e9592f10c">  235</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ADRCFDEN    0x15</span></div>
<div class="line"><a name="l00236"></a><span class="lineno"><a class="code" href="group__ADE__7763__Exported__Constants.html#ga8c73d079ab62f5466d023cd0229fead6">  236</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ADRIRMS     0x16</span></div>
<div class="line"><a name="l00237"></a><span class="lineno"><a class="code" href="group__ADE__7763__Exported__Constants.html#ga7e44f458ce46411d1cbce716efa19421">  237</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ADRVRMS     0x17</span></div>
<div class="line"><a name="l00238"></a><span class="lineno"><a class="code" href="group__ADE__7763__Exported__Constants.html#ga2575adceedc06f6c94632742caf3ea3c">  238</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ADRIRMSOS   0x18</span></div>
<div class="line"><a name="l00239"></a><span class="lineno"><a class="code" href="group__ADE__7763__Exported__Constants.html#gadf280020122f5f9100ed2d6842fa0ecf">  239</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ADRVRMSOS   0x19</span></div>
<div class="line"><a name="l00240"></a><span class="lineno"><a class="code" href="group__ADE__7763__Exported__Constants.html#gaa5d8d78b17458e66658e1f61d1243d3f">  240</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ADRVAGAIN   0x1a</span></div>
<div class="line"><a name="l00241"></a><span class="lineno"><a class="code" href="group__ADE__7763__Exported__Constants.html#gad5632377cb3ac8ac81bffae2f8016a58">  241</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ADRVADIV    0x1b</span></div>
<div class="line"><a name="l00242"></a><span class="lineno"><a class="code" href="group__ADE__7763__Exported__Constants.html#ga9c0ce6bdf598ef6050034e9969aadbba">  242</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ADRLINECYC  0x1c</span></div>
<div class="line"><a name="l00243"></a><span class="lineno"><a class="code" href="group__ADE__7763__Exported__Constants.html#gac45e9a2bbacd39743006d11a2b6b81a7">  243</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ADRZXTOUT   0x1d</span></div>
<div class="line"><a name="l00244"></a><span class="lineno"><a class="code" href="group__ADE__7763__Exported__Constants.html#gaff9c24b378f56d7d3bd9b599bfdbfb8a">  244</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ADRSAGCYC   0x1e</span></div>
<div class="line"><a name="l00245"></a><span class="lineno"><a class="code" href="group__ADE__7763__Exported__Constants.html#ga82552ebb06b3a5a5d23e128401738cb5">  245</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ADRSAGLVL   0x1f</span></div>
<div class="line"><a name="l00246"></a><span class="lineno"><a class="code" href="group__ADE__7763__Exported__Constants.html#gaff0817c7f2ad8a93e65392fb2114d49e">  246</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ADRIPKLVL   0x20</span></div>
<div class="line"><a name="l00247"></a><span class="lineno"><a class="code" href="group__ADE__7763__Exported__Constants.html#gafce8c3965f2310055532f714924583ff">  247</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ADRVPKLVL   0x21</span></div>
<div class="line"><a name="l00248"></a><span class="lineno"><a class="code" href="group__ADE__7763__Exported__Constants.html#gaf1c9ee7da9b0087662a12f57e6bf9834">  248</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ADRIPEAK    0x22</span></div>
<div class="line"><a name="l00249"></a><span class="lineno"><a class="code" href="group__ADE__7763__Exported__Constants.html#ga2e4804398290dbb7508038416d2b1e94">  249</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ADRRSTIPEAK     0x23</span></div>
<div class="line"><a name="l00250"></a><span class="lineno"><a class="code" href="group__ADE__7763__Exported__Constants.html#ga9681455a873d44c9d49545efa1f92d8f">  250</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ADRVPEAK    0x24</span></div>
<div class="line"><a name="l00251"></a><span class="lineno"><a class="code" href="group__ADE__7763__Exported__Constants.html#gaf4de63cecdd12bf9d5553def81e96269">  251</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ADRRSTVPEAK     0x25</span></div>
<div class="line"><a name="l00252"></a><span class="lineno"><a class="code" href="group__ADE__7763__Exported__Constants.html#gaece09de685f37ed627e973e449ac3f08">  252</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ADRTEMP     0x26</span></div>
<div class="line"><a name="l00253"></a><span class="lineno"><a class="code" href="group__ADE__7763__Exported__Constants.html#gaff0b570160a51445d5e77695abe8bb13">  253</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ADRPERIOD   0x27</span></div>
<div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;<span class="preprocessor"></span><span class="comment">//#define   ADR RESERVED    0x28</span></div>
<div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;<span class="comment">//#define   ADR RESERVED    0x29</span></div>
<div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;<span class="comment">//#define   ADR RESERVED    0x2a</span></div>
<div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;<span class="comment">//#define   ADR RESERVED    0x2b</span></div>
<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;<span class="comment">//#define   ADR RESERVED    0x2c</span></div>
<div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;<span class="comment">//#define   ADR RESERVED    0x2d</span></div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;<span class="comment">//#define   ADR RESERVED    0x2e</span></div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;<span class="comment">//#define   ADR RESERVED    0x2f</span></div>
<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;<span class="comment">//#define   ADR RESERVED    0x30</span></div>
<div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;<span class="comment">//#define   ADR RESERVED    0x31</span></div>
<div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;<span class="comment">//#define   ADR RESERVED    0x32</span></div>
<div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;<span class="comment">//#define   ADR RESERVED    0x33</span></div>
<div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;<span class="comment">//#define   ADR RESERVED    0x34</span></div>
<div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;<span class="comment">//#define   ADR RESERVED    0x35</span></div>
<div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;<span class="comment">//#define   ADR RESERVED    0x36</span></div>
<div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;<span class="comment">//#define   ADR RESERVED    0x37</span></div>
<div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;<span class="comment">//#define   ADR RESERVED    0x38</span></div>
<div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;<span class="comment">//#define   ADR RESERVED    0x39</span></div>
<div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;<span class="comment">//#define   ADR RESERVED    0x3a</span></div>
<div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;<span class="comment">//#define   ADR RESERVED    0x3b</span></div>
<div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;<span class="comment">//#define   ADR RESERVED    0x3c</span></div>
<div class="line"><a name="l00275"></a><span class="lineno"><a class="code" href="group__ADE__7763__Exported__Constants.html#ga8a873e63ab8ff94cb8ca6750357bddd1">  275</a></span>&#160;<span class="preprocessor">#define ADRTMODE    0x3d</span></div>
<div class="line"><a name="l00276"></a><span class="lineno"><a class="code" href="group__ADE__7763__Exported__Constants.html#gaf7b690af0d78bcdaf6cbed6121a94a8e">  276</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ADRCHKSUM   0x3e</span></div>
<div class="line"><a name="l00277"></a><span class="lineno"><a class="code" href="group__ADE__7763__Exported__Constants.html#ga2d2c2d3f4c4e51bb1806728261befd40">  277</a></span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define ADRDIEREV   0x3f</span></div>
<div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__ADE7763__Private__Functions.html#gaf6a7fc00b8b6f61a1e9d164cddb20082" title="Vyčte všechny registry ADE 7763 a zobrazí je v četně detailního popisu.">ade7763ReadAll</a>(<span class="keywordtype">int</span> kanal);</div>
<div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__ADE7763__Private__Functions.html#gade1bd16fa0d8e9584e8a83d9181ef537" title="Testovací funkce.">ade7763WriteTest</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;<span class="keywordtype">int</span> <a class="code" href="group__ADE7763__Private__Functions.html#ga054cdd0fd6be9c47b74be5c6031ff778" title="Čtení/zápis z/do ADE 7763. Nejedná se o low level funkci. Vyvolá čtení nebo zápis z/do ADE7763 po SPI...">ade7763ReadWrite</a>(uint8_t kanal,uint8_t* buffer, uint8_t mode, uint8_t verbose);</div>
<div class="line"><a name="l00288"></a><span class="lineno">  288</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__ADE7763__Private__Functions.html#ga4822628f70ec053d5c1a5de5d05f1969" title="Vypíše jeden řádek inoformací o dotazovaném registru.">PrintRegisterTableLine</a> (uint8_t* buffer,uint8_t bufsize, uint8_t Regtmp );</div>
<div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__ADE7763__Private__Functions.html#ga0aa8ef930c90102e612fba2d2a85cc26" title="Testovací funkce.">IrmsCalibrate</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__ADE7763__Private__Functions.html#ga44043c8c612767b8a24e3911781c7a08" title="Vypíše všechny status Flag ADE 7763.">GetStatus7763</a> (<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__ADE7763__Private__Functions.html#gaaaa5c5156bb0d930fb882208aea1deb9" title="Vypíše všechny status Flag ADE 7763. V určité chvíli se resetuje.">GetRstStatus7763</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;<span class="keywordtype">float</span> <a class="code" href="group__ADE7763__Private__Functions.html#gaabba7c06985b604e07fe8ce30edb573c" title="Vypíše naměřenou frekvenci. POZOR: zařízení musí být pod napětím 230V. Když nedochází k průchodu napě...">GetFrequency7763</a> (uint8_t verbose);</div>
<div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__ADE7763__Private__Functions.html#ga8eb4817b2d54be4e3e3ea0a6520ade38" title="Podle vstupní proměnné aktivuje nebo deaktivuje měření teploty.">SetTemperature7763</a>(uint8_t stav);</div>
<div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;<span class="keywordtype">float</span> <a class="code" href="group__ADE7763__Private__Functions.html#gaf7969c9098960fac78710a91237d6145" title="Vypíše naměřenou teplotu [°C]. POZOR: zařízení musí být pod napětím 230V. Když nedochází k průchodu n...">GetTemperature7763</a>(uint8_t verbose);</div>
<div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;<span class="keywordtype">float</span> <a class="code" href="group__ADE7763__Private__Functions.html#ga285fcad0bbdded180876c0bc0a5e7062" title="Vypíše naměřenou hodnotu napětí Vrms [V].">GetVrms7763</a>(uint8_t verbose);</div>
<div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__ADE7763__Private__Functions.html#gadfb4b5adb0e02d3b647d1b02e67bf200">SetVrmsOS7763</a>(uint16_t VrmsOS);</div>
<div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;<span class="keywordtype">float</span> <a class="code" href="group__ADE7763__Private__Functions.html#ga42ab2d939d2bf70a30d1c08ffa99b024" title="Změří hodnotu proudu Irms [A]. Probýhá i průměrování.">GetIrms7763</a>(uint8_t verbose, uint8_t fast) ;</div>
<div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;</div>
<div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;</div>
<div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__ADE7763__Private__Functions.html#gae33aca8009f041fe093c3312f489402d" title="Nastaví vstupní rozsah proudového převodníku na 0.5V, 0.25V nebo 0.125V.">SetScalePGA17763</a>(uint8_t scale, uint8_t verbose);</div>
<div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__ADE7763__Private__Functions.html#ga0a16268ff06ac733f1b8317aaf425810" title="Nastaví vstupní zesílení proudového převodníku PGA1 0,2,4,8,16x.">SetGainPGA17763</a>(uint8_t GainSet, uint8_t verbose);</div>
<div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;<span class="keywordtype">void</span> <a class="code" href="group__ADE7763__Private__Functions.html#gac8207867fa34b64e835496814913c888" title="Nastaví vstupní zesílení proudového převodníku PGA2 0,2,4,8,16x.">SetGainPGA27763</a>(uint8_t GainSet);</div>
<div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;<span class="keywordtype">float</span> <a class="code" href="group__ADE7763__Private__Functions.html#ga17f73c57087f7376679858b56a04effe" title="Vypíše naměřenou a zprůměrovanou hodnotu proudu Irms [A]. Funkce obsahuje Autoscale.">GetAutoIrms7763</a>(uint8_t verbose);</div>
<div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;</div>
<div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* ADE7763_H_ */</span><span class="preprocessor"></span></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Apr 16 2013 16:20:02 for RaspBerryPi power control by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.3.1
</small></address>
</body>
</html>
